package cn.luckdou.system.service.user;

import java.util.List;

import cn.luckdou.system.model.vo.UserVo;
import com.baomidou.mybatisplus.service.IService;
import cn.luckdou.commons.result.PageInfo;
import cn.luckdou.system.model.user.User;

/**
 *
 * User 表数据服务层接口
 *
 */
public interface IUserService extends IService<User> {

    List<User> selectByLoginName(UserVo userVo);

    void insertByVo(UserVo userVo);

    UserVo selectVoById(Long id);

    void updateByVo(UserVo userVo);

    void updatePwdByUserId(Long userId, String md5Hex);

    void selectDataGrid(PageInfo pageInfo);

    void deleteUserById(Long id);
}